package com.wtwd.campus.service;

import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import javax.annotation.Resource;

@Component
public class InjectFeignService {
    @Resource
    IRMFeignClientService irmFeignClientService;

    @Resource
    WebRemoteService webRemoteService;

    private static InjectFeignService injectService;
    @PostConstruct
    public  void init(){injectService=this;}

    public static IRMFeignClientService getIrmFeignClientService(){
        return injectService.irmFeignClientService;
    }

    public static WebRemoteService getWebRemoteService(){
        return injectService.webRemoteService;
    }

}
